package interfaces;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * Methoddeclaration of chatproxy.
 * Declares methods for clients to communicate with server.
 *
 * @author Dominik Korittki
 * @author Steffen Grushka
 * @version 0.1
 */
public interface ChatProxy extends Remote {
	/**
	 * method for client to send messages to the server, which will be spreaded to all clients including the client itself
	 * @param message String which will be spreaded
	 * @throws RemoteException
	 */
	public void sendMessage (String message) throws RemoteException;
}
